﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="item_list.aspx.cs" Inherits="admin_item_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>产品信息列表</title>
    <link href="../css/css.css" rel="Stylesheet" type="text/css" />
</head>
<body leftmargin="0" style="text-align:left; margin:0px; padding:0px; border:0px;" bgcolor="#efefef">
        <form id="form1" runat="server">
    <div>
        <div class="gridview_title">产品信息列表</div>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            BackColor="White" BorderColor="White" BorderStyle="None" BorderWidth="2px" CellPadding="3"
            CellSpacing="1" GridLines="None" PageSize="20" Font-Size="12px" OnPageIndexChanging="GridView1_PageIndexChanging" 
            Width="570px" HorizontalAlign="Center" OnRowDataBound="GridView1_RowDataBound" 
            OnRowDeleting="GridView1_RowDeleting">
            <PagerSettings FirstPageText="第一页" LastPageText="最后一页"
                NextPageText="下一页" PreviousPageText="上一页" />
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <Columns>
                
                <asp:BoundField DataField="productnum" HeaderText="产品编号">
                    <ItemStyle HorizontalAlign="Center" CssClass="item_break" />
                </asp:BoundField>
                <asp:BoundField DataField="producttitle" HeaderText="标题">
                    <ItemStyle HorizontalAlign="Center" CssClass="item_break"/>
                </asp:BoundField>
                <asp:BoundField DataField="productkind" HeaderText="类别">
                    <ItemStyle HorizontalAlign="Center" CssClass="item_break"/>
                </asp:BoundField>
                <asp:BoundField DataField="source" HeaderText="来源">
                    <ItemStyle HorizontalAlign="Center" CssClass="item_break"/>
                </asp:BoundField>
                <asp:BoundField DataField="addadminname" HeaderText="管理员">
                    <ItemStyle HorizontalAlign="Center" CssClass="item_break"/>
                </asp:BoundField>
                <asp:BoundField DataField="productstatus" HeaderText="产品状态">
                    <ItemStyle HorizontalAlign="Center" CssClass="item_break"/>
                </asp:BoundField>
                <asp:BoundField DataField="addtime" HeaderText="添加时间">
                    <ItemStyle HorizontalAlign="Center" CssClass="item_break"/>
                </asp:BoundField>
                <asp:HyperLinkField DataNavigateUrlFields="productnum" DataNavigateUrlFormatString="item_detail.aspx?productnum={0}"
                    HeaderText="详细信息" Target="main" Text="详细信息">
                    <ItemStyle HorizontalAlign="Center" CssClass="item_straight"/>
                </asp:HyperLinkField>
                <asp:CommandField HeaderText="删除" ShowDeleteButton="True">
                    <ItemStyle HorizontalAlign="Center" CssClass="item_straight"/>
                </asp:CommandField>
            </Columns>
            <RowStyle BackColor="#EFEFEF" ForeColor="Black" />
            <SelectedRowStyle BackColor="#E8E8FF" Font-Bold="True" ForeColor="Black" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#ADBDCE" Font-Bold="False" HorizontalAlign="Center" ForeColor="Black" Wrap="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>
